package org.zn.etl.misc;

import org.springframework.cglib.beans.BeanCopier;

public class BeanCopierUtils {

	public static <T,S> T copy(S source ,T target) {
		
		BeanCopier copier = BeanCopier.create(source.getClass(), target.getClass(), false);
		copier.copy(source, target, null);

		return target;
	}
	
	
}
